package com.example.test.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 报损清单
 * </p>
 *
 * @author dz
 * @since 2022-04-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class BrokenGoods extends Model<BrokenGoods> {

    private static final long serialVersionUID = 1L;

    /**
     * 损毁单id
     */
    @TableId(value = "broken_id", type = IdType.AUTO)
    private Integer brokenId;

    /**
     * 商品id
     */
    private Integer goodId;

    /**
     * 损坏原因
     */
    private String reason;

    /**
     * 损毁总价
     */
    private Double money;

    /**
     * 损坏数量
     */
    private Integer brokenNum;

    /**
     * 审批人id
     */
    private Integer orderApprovalId;

    /**
     * 创建时间
     */
    private Date createTime;

}
